package com.zenithmind.disk.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "文件分享DTO")
public class ShareDTO {
    
    @Schema(description = "分享ID")
    private String id;
    
    @NotNull(message = "文件ID不能为空")
    @Schema(description = "文件ID")
    private String fileId;
    
    @Schema(description = "过期时间（天数），0表示永久有效")
    private Integer expireTime;
    
    @Schema(description = "是否公开分享")
    private int isPublic;
    
    @Schema(description = "提取密码")
    private String password;
} 